-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DAT: verify that a destination is able to write any ISO8601-compliant date string #9816
DAT: verify that a destination is able to write any ISO8601-compliant date string #9816
Conversation
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-bigquery
|
/test connector=connectors/destination-redshift
|
/test connector=connectors/destination-postgres
|
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-bigquery
|
/test connector=connectors/destination-redshift
|
/test connector=connectors/destination-postgres
|
c7cb0e2
to
0d48b8f
Compare
/test connector=connectors/destination-snowflake
|
/test connector=connectors/destination-postgres
|
/test connector=connectors/destination-redshift
|
/test connector=connectors/destination-bigquery
|
0d48b8f
to
0c282fa
Compare
0ce9188
to
4640ad7
Compare
...ion/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationAcceptanceTest.java
Show resolved
Hide resolved
...ion/java/io/airbyte/integrations/destination/bigquery/BigQueryDestinationAcceptanceTest.java
Show resolved
Hide resolved
/test connector=connectors/destination-pubsub
|
/publish connector=connectors/destination-pubsub
|
4640ad7
to
cd04ca4
Compare
What
Fixes #5712
edge_case_messages.txt
.destination-bigquery-denormalized
wasn't able to processdate-time
strings for any ISO8691 formatHow
edge_case_messages.txt
.2021-01-03T01:01:01.544+01:00
", snowflake format: "2021-01-03T00:01:02Z
". To apply this converter for some specific destination you need to for override methodrequiresDateTimeConversionForSync()
fortestSync()
orrequiresDateTimeConversionForNormalizedSync()
fortestSyncWithNormalization()
. After that overrideconvertDateTime()
and implement logic for your destination. DateTimeUtils contains static methods that take string in ISO8691 format and return date-time string in format required for every specific destination. That's the reason why I added methods likeconvertTo...Format()
Recommended reading order
edge_case_messages.txt
DateTimeConverter.java
DestinationAcceptanceTest.java
DateTimeUtils.java
BigQueryUtils.java
🚨 User Impact 🚨
There is no user impact
Pre-merge Checklist
Expand the relevant checklist and delete the others.
New Connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/SUMMARY.md
docs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing./publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changes